package dao;

import dao.dto.EmployeDto;
import boerrors.EmployeExistantException;
import boerrors.EmployeInexistantException;
import java.util.Vector;
//import errors.LoginException;

public abstract class EmployeDao {
    
//        public abstract boolean login (String matricule, String password) throws LoginException;
    /*
        public abstract EmployeDto rechercher(String matricule) throws EmployeInexistantException;
        public abstract Vector<EmployeDto> rechercher(String nom, String prenom) throws EmployeInexistantException;*/
        public abstract void enregistrer(EmployeDto employe) throws EmployeExistantException;
        public abstract void modifier(EmployeDto employe) throws EmployeInexistantException;
        public abstract void modifierTechnicienToEmploye(EmployeDto employe) throws EmployeInexistantException;
        public abstract Vector<EmployeDto> lister() throws EmployeInexistantException ;
        public abstract EmployeDto identifier(int idRHMatricule,String password) throws EmployeInexistantException ;
    //    public abstract void supprimer (EmployeDto employe) throws EmployeInexistantException;
}